package com.net.tkc.pro.impl;


import com.net.tkc.pro.entity.Avatar;
import com.net.tkc.pro.entity.Follow;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FollowImpl {
    int addFollow(@Param("Follow") Follow Follow);//添加记录
    int upFollow(int follow,int id);//更新记录
    List<Follow> getFromList(int to);
    List<Follow> getToList(int from);//获取列表
    List<Avatar> getFromList1(int to);

}
